package books4africa

import grails.converters.*
import grails.converters.XML

class BookRestController {

    def index ={
		
	}
	
	def list = { 
		render Book.list() as XML
	}
	
	def show = { 
		Book book = Book.get(params.id)
		render book as XML
	}
	
	def save = {
		
	}
}
